package ru.lukyanets.transmission.protocol.model.torrent.arguments;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.Getter;
import lombok.Setter;

/**
 * @author slukyanets
 */
@SuppressWarnings("unused")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
        "cookies",
        "download-dir",
        "metainfo",
        "paused",
        "peer-limit",
        "bandwidthPriority",
        "files-wanted",
        "files-unwanted",
        "priority-high",
        "priority-low",
        "priority-normal"
})
@Getter
@Setter
public class TorrentAddArgs extends AbstractCommonArgs {
    @JsonProperty("cookies")
    private String cookies;

    @JsonProperty("download-dir")
    private String downloadDir;

    @JsonProperty("metainfo")
    private String metainfo; // base64 encoded .torrent file content

    @JsonProperty("paused")
    private boolean paused;
}
